package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 服务开通的城市 jiajia_activate_city
 * 
 * @author knd
 * @date 2021-10-20
 */
public class JiajiaActivateCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "区县名称")
    private String name;

    /** 1删除，未删除 */
    @Excel(name = "1删除，未删除")
    private Integer del;

    /** 省id */
    @Excel(name = "省id")
    private Long provinceId;

    /** 市id */
    @Excel(name = "市id")
    private Long cityId;

    ////////////不在数据库//////////
    private String provinceName;

    private String cityName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setDel(Integer del)
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("del", getDel())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .toString();
    }
}
